package com.yt.service;

import com.yt.pojo.Author;
import com.yt.pojo.ReturnResult;

import java.util.List;

public interface AuthorService {
    List<Author> getAllAuthors();
    ReturnResult<Author> getAllAuthorByName(String name);

    ReturnResult<List<Author>> getAllAuthors(String token);
}
